package com.spr.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spr.pojo.SprDeviceInfo;
import java.util.List;
import com.spr.vo.SprChargeStatisticsVO;import org.apache.ibatis.annotations.Param;

public interface SprDeviceInfoMapper extends BaseMapper<SprDeviceInfo> {
    int updateBatch(List<SprDeviceInfo> list);

    int updateBatchSelective(List<SprDeviceInfo> list);

    int batchInsert(@Param("list") List<SprDeviceInfo> list);

    int insertOrUpdate(SprDeviceInfo record);

    int insertOrUpdateSelective(SprDeviceInfo record);

    List<SprChargeStatisticsVO> selectForwardChargeStatistics();

    SprChargeStatisticsVO selectOtherChargeStatistics(@Param("ids") List<Integer> ids);

    List<SprDeviceInfo> getPartStatistics();
}